package org.hwadee.mapper;

import org.apache.ibatis.annotations.Select;
import org.hwadee.entity.PageOptions;
import org.hwadee.entity.UserOperation;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PageOptionsMapper {
    @Select("select * from pageoptions limit 1")
    PageOptions getPageOperation();

    @Select("select * from useroperation")
    List<UserOperation> getAllUserOperations();
}
